<?php

namespace app\api\model;

use app\common\model\Wxsetting as WxsettingModel;

/**
 * 分红设置模型
 * Class Setting
 * @package app\api\model
 */
class Wxsetting extends WxsettingModel
{

    /**
     * 获取设置项信息
     * @param $key
     * @return null|static
     * @throws \think\exception\DbException
     */
    public function info($wxapp_id)
    {
        return $this->where(['wxapp_id'=>$wxapp_id])->find();
    }



}
